first non repeating character in a string in c